package socket;

import java.util.Date;

import utils.DateUtil;

/**
 * 报文头
 * @author 郑鲁业
 *
 */
public class Header {
	/**报文长度*/
	private String MsgLen="00000000";
	/**报文编码*/
	private String MsgID="91";
	/**报文类型*/
	private String MsgType;
	/**发送方机构代码*/
	private String SenderOrgCode="9000000";
	/**接收方机构代码  */
	private String RecvOrgCode="6300000";
	/**发送时间 格式：YYYYMMDDHHMISS*/
	private String SendTime=DateUtil.formatDateTime1(new Date());
	/**crc校验码*/
	private String VerifyCode;
	public String getMsgLen() {
		return MsgLen;
	}
	public void setMsgLen(String msgLen) {
		MsgLen = msgLen;
	}
	public String getMsgID() {
		return MsgID;
	}
	public void setMsgID(String msgID) {
		MsgID = msgID;
	}
	public String getMsgType() {
		return MsgType;
	}
	public void setMsgType(String msgType) {
		MsgType = msgType;
	}
	public String getSenderOrgCode() {
		return SenderOrgCode;
	}
	public void setSenderOrgCode(String senderOrgCode) {
		SenderOrgCode = senderOrgCode;
	}
	public String getRecvOrgCode() {
		return RecvOrgCode;
	}
	public void setRecvOrgCode(String recvOrgCode) {
		RecvOrgCode = recvOrgCode;
	}
	public String getSendTime() {
		return SendTime;
	}
	public void setSendTime(String sendTime) {
		SendTime = sendTime;
	}
	public String getVerifyCode() {
		return VerifyCode;
	}
	public void setVerifyCode(String verifyCode) {
		VerifyCode = verifyCode;
	}
}
